<?php

/**
 * Template for making the top div in the
 * questions list view
 *
 * In order to set the currently viewed types of questions
 * as 'current', just pass 'current' as a value
 * for the corresponding questions view type
 * for example 'Unanswere' => '1'
 *
 */
class tplQtypesdiv extends \StudyBuddy\Template\Template
{
	protected static $vars = array(
		'newest_c' => '', //1
		'voted_c' => '', //2
		'active_c' => '', //3
		'newest' => 'Newest', //4
		'newest_t' => 'Most recent questions', //5
		'voted' => 'Most Voted', //6
		'voted_t' => 'Questions with most votes', //7
		'active' => 'Popular', //8
		'active_t' => 'Questions with popular', //9
		'difficult' => 'Hight difficult', //10
		'difficult_t' => 'Hight difficult question in past 7 days', //11
		'difficult_c' => '', //12
		'path' => '', //13
		'verified' => 'Verified', //14
		'verified_t' => 'Question with verified in past 1 month', //15
		'verified_c' => '', //16
	);

	protected static $tpl = '
	<div class="ctl-tit">
		<div class="tNormal t%1$s" sort="questions">
			<a style="text-decoration: none;" href="/questions/%13$s" rel="nofollow" title="%5$s"><span class="midT">%4$s</span></a>
			<span class="rightT"></span>
		</div>
		<div class="tNormal t%3$s" sort="active">
			<a style="text-decoration: none;" href="/active/%13$s" rel="nofollow" title="%9$s"><span class="midT">%8$s</span></a>
			<span class="rightT"></span>
		</div>
		<div class="tNormal t%16$s" sort="verified">
			<a style="text-decoration: none;" href="/verified/%13$s" rel="nofollow" title="%15$s"><span class="midT">%14$s</span></a>
			<span class="rightT"></span>
		</div>
	</div>';
	
}
